home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 12 - 1996 / 12.08 Aug 96 / Shared Libes CPX / Example Libraries / C Lib Example / Headers / TanLibStructs.h < prev   
Encoding:
C/C++ Source or Header  |  1996-02-22  |  588 b   |  29 lines  |  [TEXT/MPCC]

  1. #ifndef TAN_LIB_STRUCTS_H
  2. #define TAN_LIB_STRUCTS_H
  3. /*
  4.     © 1995 Tangent Systems
  5.     All Rights Reserved.
  6.     
  7.     Public declarations for interface structures used in TanLib01.
  8.     Putting these declarations in a separate header makes it easier when it
  9.     comes time to use Prograph C Tool to define these strcutures for use
  10.     in CPX.
  11. */
  12.  
  13. /*
  14.     The following pragmas handle type mismatches.
  15. */
  16. #pragma pgtype double Real8
  17. #pragma pgtype int Int4
  18. #pragma pgtype    unsigned Nat4
  19.  
  20.  
  21. typedef struct {
  22.                     unsigned long length;
  23.                     int    success;
  24.                     double result;
  25.                     double *data;
  26.  
  27.                 } data_cache;        
  28. #endif
  29.